﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElingOA6_DSJCJ.Model
{
    /// <summary>
    /// 广告实体类
    /// </summary>
    public class Ad
    {
        public Ad()
        {
        }
        #region Model
        private string _fadcd;
        private string _fentityno;
        private string _fadname;
        private string _fadprop;
        private string _fdatatype;
        private string _foldfilename;
        private string _fsvrfilename;
        private byte[] _fadcontent;
        private string _fadtype;
        private string _fadurl;
        private decimal? _fisuse = 1M;
        private int? _fadwidth;
        private int? _fadheight = 0;
        /// <summary>
        /// 
        /// </summary>
        public string FAdcd
        {
            set { _fadcd = value; }
            get { return _fadcd; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEntityNo
        {
            set { _fentityno = value; }
            get { return _fentityno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FAdName
        {
            set { _fadname = value; }
            get { return _fadname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FAdProp
        {
            set { _fadprop = value; }
            get { return _fadprop; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FDataType
        {
            set { _fdatatype = value; }
            get { return _fdatatype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FOldFileName
        {
            set { _foldfilename = value; }
            get { return _foldfilename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FSvrFileName
        {
            set { _fsvrfilename = value; }
            get { return _fsvrfilename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public byte[] FAdContent
        {
            set { _fadcontent = value; }
            get { return _fadcontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FAdType
        {
            set { _fadtype = value; }
            get { return _fadtype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FAdUrl
        {
            set { _fadurl = value; }
            get { return _fadurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FIsUse
        {
            set { _fisuse = value; }
            get { return _fisuse; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FAdWidth
        {
            set { _fadwidth = value; }
            get { return _fadwidth; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FAdHeight
        {
            set { _fadheight = value; }
            get { return _fadheight; }
        }
        #endregion Model

        public string Fadprop2 { get; set; }
        /// <summary>
        /// 左图片地址
        /// </summary>
        public string leftImageUrl { get; set; }
        /// <summary>
        /// 左图片宽度
        /// </summary>
        public int leftWidth { get; set; }
        /// <summary>
        /// 左图片高度
        /// </summary>
        public int leftHeight { get; set; }
        /// <summary>
        /// 左链接
        /// </summary>
        public string leftHRef { get; set; }
        /// <summary>
        /// 左target
        /// </summary>
        public string leftTarget { get; set; }
        /// <summary>
        /// 右图片地址
        /// </summary>
        public string rightImageUrl { get; set; }
        public int rightWidth { get; set; }
        public int rightHeight { get; set; }
        public string rightHRef { get; set; }
        public string rightTarget { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string hidCouPleZt = "0";
    }
}
